﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式.模板模式
{
    public class Cricket : Game
    {
        protected override void EndPlay()
        {
            Console.WriteLine("Cricket Game Finished");
        }

        protected override void Initialize()
        {
            Console.WriteLine("Cricket Game Initialized ! Start Playing.");
        }

        protected override void StartPlay()
        {
            Console.WriteLine("Cricket Game Started. Enjoy the game !");
        }
    }
}
